/**
 * 返回当前页面的名称，
 * 构建整个应用组件结构时用到
 */
import store from "../../store/index";
export default () => {
	if (!store) return;
	let pageName = store.getters.getRouterLifeCycleOfName.name;
	if (!pageName || !Object.keys(pageName).length) return;
	// if (window.environment === "production") {
	// 	// console.log("production模式下的页面名称", store.getters.getRouterLifeCycleOfName.name);
		// return pageName;
	// }
    return pageName;
}